.class public Lcom/donson/momark/util/a/t;
.super Ljava/lang/Object;


# static fields
.field public static d:Lcom/donson/momark/util/a/t;


# instance fields
.field a:Lcom/donson/momark/view/view/f;

.field public e:Ljava/util/Map;

.field private g:Lcom/donson/momark/util/a/w;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/donson/momark/util/a/t;->d:Lcom/donson/momark/util/a/t;

    return-void
.end method

.method private constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/donson/momark/util/a/t;->e:Ljava/util/Map;

    new-instance v0, Lcom/donson/momark/util/a/y;

    invoke-direct {v0, p0}, Lcom/donson/momark/util/a/y;-><init>(Lcom/donson/momark/util/a/t;)V

    iput-object v0, p0, Lcom/donson/momark/util/a/t;->g:Lcom/donson/momark/util/a/w;

    return-void
.end method

.method public static a()Lcom/donson/momark/util/a/t;
    .locals 2

    sget-object v0, Lcom/donson/momark/util/a/t;->d:Lcom/donson/momark/util/a/t;

    if-nez v0, :cond_1

    const-class v0, Lcom/donson/momark/util/a/t;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lcom/donson/momark/util/a/t;->d:Lcom/donson/momark/util/a/t;

    if-nez v1, :cond_0

    new-instance v1, Lcom/donson/momark/util/a/t;

    invoke-direct {v1}, Lcom/donson/momark/util/a/t;-><init>()V

    sput-object v1, Lcom/donson/momark/util/a/t;->d:Lcom/donson/momark/util/a/t;

    :cond_0
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_1
    sget-object v0, Lcom/donson/momark/util/a/t;->d:Lcom/donson/momark/util/a/t;

    return-object v0

    :catchall_0
    move-exception v1

    :try_start_1
    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw v1
.end method


# virtual methods
.method public a(Lcom/donson/momark/view/view/f;Ljava/lang/String;Lcom/donson/momark/util/q;Lcom/donson/momark/util/a/r;Landroid/widget/TextView;)I
    .locals 2

    iput-object p1, p0, Lcom/donson/momark/util/a/t;->a:Lcom/donson/momark/view/view/f;

    new-instance v0, Lcom/donson/momark/util/a/a;

    invoke-direct {v0, p2, p3, p4, p5}, Lcom/donson/momark/util/a/a;-><init>(Ljava/lang/String;Lcom/donson/momark/util/q;Lcom/donson/momark/util/a/r;Landroid/widget/TextView;)V

    iget-object v1, p0, Lcom/donson/momark/util/a/t;->g:Lcom/donson/momark/util/a/w;

    invoke-virtual {v0, v1}, Lcom/donson/momark/util/a/a;->a(Lcom/donson/momark/util/a/w;)V

    iget-object v1, p0, Lcom/donson/momark/util/a/t;->e:Ljava/util/Map;

    invoke-interface {v1, p2, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/donson/momark/util/a/t;->e:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->size()I

    move-result v0

    return v0
.end method

.method public a(Ljava/lang/String;)Z
    .locals 3

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/donson/momark/util/a/t;->e:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-nez v2, :cond_1

    return v0

    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/util/Map$Entry;

    invoke-interface {p0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/String;

    invoke-virtual {p0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    const/4 v0, 0x1

    goto :goto_0
.end method

.method public d()Ljava/util/List;
    .locals 3

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iget-object v1, p0, Lcom/donson/momark/util/a/t;->e:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-nez v2, :cond_0

    return-object v0

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/util/Map$Entry;

    invoke-interface {p0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/String;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0
.end method

.method public e()I
    .locals 1

    iget-object v0, p0, Lcom/donson/momark/util/a/t;->e:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->size()I

    move-result v0

    return v0
.end method
